$(function () {
    getnew()
    function getnew() {
        $.ajax({
            url: 'http://124.223.14.236:8060/user/getUserInfo',
            headers: {
                'token': localStorage.getItem('token') || ''
            },
            success: function (res) {
                console.log(res);
                let html = template('tpl', res.data)
                $('#text').html(html)

            }
        })
    }
})